package com.matt.domain.observation;

import com.matt.commons.model.Model;
import com.matt.foundation.utils.ModelUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/8/11
 * *******************************
 */
@Entity
@Table(name = "observation_new_type")
@Data
@EqualsAndHashCode(callSuper = true)
public class ObservationNewType extends Model{

    @Column(columnDefinition = "int default 0 COMMENT '编号'")
    private Integer code;

    @Column(columnDefinition = "varchar(50) COMMENT '名称'")
    private String name;

    @Column(columnDefinition = "varchar(50) COMMENT '描述'")
    private String description;

    @Column(columnDefinition = "bit default 0 COMMENT '是否删除'")
    private Boolean deleted = false;
}
